package asteroids.model.programs.Expression;

import asteroids.model.programs.Type;
import be.kuleuven.cs.som.annotate.Basic;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public class BooleanLiteral extends BasicExpression implements IBooleanExpression{

	public BooleanLiteral(int line, int column, boolean value) {
		super(line, column, new Type(Type.AllType.BOOLEAN));
		this.value=value;
	}
	private boolean value;
	/**
	 * Return the boolean value of this Boolean Literal.
	 */
	@Override @Basic
	public boolean getBoolean() {
		return this.value;
	}


}
